package com.luyu.util;

import com.luyu.tenant.TenantContextHolder;


public class TempUserRedisKeyUtil {

    public static  String getKey(){
        return  generateKey(UserContextUtil.getUserName(),TenantContextHolder.getTenantId()) ;
    }


    public static  String generateKey(String userName,Long tenantId){

        return userName+tenantId;
    }
}
